Skip to content

fix: run the registry check in its own process - #20

Merged
nodemode-ai merged 2 commits into
mainfrom
fix/owner-decisions-2026-11-29
Nov 30, 2026
Merged

nodemode-ai merged 2 commits into
mainfrom
fix/owner-decisions-2026-11-29

Conversation

@gbarnai

@gbarnai gbarnai commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Submit to Registry runs the registry's tools/check.py in its own process. It gets a minimal environment, a temporary home folder, a time limit (FORMEXT_REGISTRY_CHECK_TIMEOUT, default 300 s), its output kept, and the whole process tree stopped when the limit passes.
  • The frozen engine gains a registry-check entry, and the engine self check gains registry_check_isolated.
  • New engine tests in tests/publish/test_registry_check_process.py cover the separate process, environment isolation, kept output, the time limit and the refusal sentence.
  • The manual describes the new behaviour under Submit to Registry.

Tests

  • Each change has tests that fail on the code before it.
  • The repo's CI commands were run locally on macOS; every local failure also fails on main in the same environment. Please rely on this PR's CI for Linux and Windows.

How to ship

  • Follows the earlier hardening PR, already merged. Independent of other repos. No version bump.

Submit to Registry now starts tools/check.py as its own program with a clean environment, a temporary home folder, a time limit and its output kept, and stops it and the programs it started when the limit passes. The engine self check covers it.
…t run

taskkill now runs only while the check is still running, and a taskkill that cannot start or does not return no longer turns a finished or timed out check into an engine error. The manual names the few environment settings the check is given.
@gbarnai
gbarnai requested a review from nodemode-ai as a code owner November 29, 2026 21:21
@nodemode-ai
nodemode-ai merged commit 018785a into main Nov 30, 2026
3 checks passed
@nodemode-ai
nodemode-ai deleted the fix/owner-decisions-2026-11-29 branch November 30, 2026 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants